package net.muchine.core.domain.user;

import javax.validation.constraints.Size;

import net.muchine.core.support.annotation.UniqueGroup;

import org.hibernate.validator.constraints.NotEmpty;

@UniqueGroup
public class Group {
	private String companyId;
	
	private Long seq;
	private String id;
	@NotEmpty @Size(max=30)
	private String name;
	private String description;
	private String parentId;
	private String managerId;
	
	private int users;
	
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public Long getSeq() {
		return seq;
	}
	public void setSeq(Long seq) {
		this.seq = seq;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getManagerId() {
		return managerId;
	}
	public void setManagerId(String managerId) {
		this.managerId = managerId;
	}
	public int getUsers() {
		return users;
	}
	public void setUsers(int users) {
		this.users = users;
	}
}
